/*
 * smart-designs v1.0.6
 * 13-5-2024
*/

/* GLOBAL ------------------------------------------------------------------- */

::-webkit-scrollbar {
    display: none;
}

html {
    font-size: 21px;
}

body {
    background: transparent;
    color: white;
    opacity: 0;
}

.jp-entrance-anim {
    opacity: 0;
}

.jpt-nowrap {
    white-space: nowrap;
}

.jpt-insert-when-scrolled {
    opacity: 0;
    visibility: hidden;
}

.jpt-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

.jpt-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.jpt-section>img {
    display: block;
    width: 100%;
}

.jpt-section>img:not(:only-child):first-child {
    margin-bottom: .3rem;
}

.jpt-section,
.jpt-section>* {
    flex-shrink: 0;
    flex-grow: 0;
}

.jpt-block {
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.jpt-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.jpt-kv-image {
    position: absolute;
    display: block;
    background-size: contain;
    width: 95%;

    top: 50%;
    left: 50%;
}

.jpt-spacer {
    top: 0;
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    pointer-events: none;
}


/* BG ----------------------------------------------------------------------- */

.jpt-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.jpt-bg [jp-controls] {
    height: 100% !important;
}

.jpt-bg .jp-controls-holder,
.jpt-bg .jp-controls-bigplay {
    display: none;
}

.jpt-bg video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    
}

#backdrop{
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px);
}

#body_back .pseudo-top {
    position: absolute;
    top: 0;
    width: 1000px;
    height: 250px;
}

#body_back .pseudo-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 100%;
}

#body_back .pseudo-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 10%;
    height: 100%;
}

/* TOP ---------------------------------------------------------------------- */

html#html_top {
    font-size: 20px;
}

#body_top .jpt-wrapper {
    flex-direction: row;
    justify-content: space-around;
}

#body_top .jpt-section {
    height: 100%;
}

#body_top .jpt-section>img {
    margin: 0;
}

#body_top .jpt-section-copy {
    width: 65%;
    z-index: 1;
    flex-shrink: 1;
    padding: 2%;
}

#body_top .jpt-section-copy img {
    width: 70%;
    max-width: 170vh;
    min-width: 350px;
}

#body_top .jpt-video-container {
    height: 100%;
}

#body_top [jp-controls] {
    height: 100%;
}

#body_top .jpt-section-video {
    transition: width .5s;
    padding: 0;
    max-height: 26vw;
}

/* SIDES ------------------------------------------------------------------- */

.body_side .jpt-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 120px;
    max-width: 45vh;
    left: 50%;
    transform: translateX(-50%);
    padding: 10vh 0;
    /* for less sections */
}

.body_side .jpt-section {
    width: 100%;
    padding: 5% 2.5%;
}

.body_side .jpt-header {
    height: 25%;
    min-height: 140px;
    padding-bottom: 0;
    padding-top: 14%;
}

.body_side .jpt-section-visual {
    height: 30%;
}

.body_side .jpt-footer {
    height: 20%;
    justify-content: flex-start;
}

.body_side .jpt-section-legals {
    height: 5%;
}

.body_side .jpt-logo {
    width: 50%;
    max-width: 230px;
}

.body_side .jpt-cta {
    width: 70%;
    max-width: 300px;
}

.body_side .jpt-visual-onscroll {
    visibility: hidden;
    opacity: 0;
}

.body_side .jpt-video-container {
    position: relative;
    top: 50%;
    transform: translateY(-50%)
}

.body_side .jpt-video-container [jp-controls] {
    visibility: visible !important;
    opacity: 1;
}

.body_side .mouse-sense {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}

/* BACK -------------------------------------------------------------------- */

#body_back {
    background: black;
}

/* EXPANDED ---------------------------------------------------------------- */

#body_expanded .jpt-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#body_expanded .jpt-section-video {
    width: 70%;
    max-width: 160vh;
}

#body_expanded .jpt-video-container {
    width: 100%;
}


/* MEDIA QUERIES ----------------------------------------------------------- */

@media screen and (max-width:260px) {
    html {
        font-size: 8vw;
    }
}

@media (min-aspect-ratio:10/29) and (max-height:750px) {
    html {
        font-size: 2.8vh;
    }
}